<h1>Semesters</h1>

<table>

<% @semesters.each do |semester| %>
  <tr>
    <td><%=h semester.term %></td>
	<td><%= link_to "Show", {:controller => 'semesters', :action => 'show', :semester_term => semester.term} %></td>
    <td><%= link_to "Edit", {:controller => 'semesters', :action => 'edit', :semester_term => semester.term} %></td>
    <td><%= link_to 'Destroy', semester, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New semester', new_semester_path %>